<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head>
   <%@ include file="/common/CimsCommon.jsp" %>
  <title>临时上传文件</title>
  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<!-- 相关js方法 -->
<script type="text/javascript">
	var baseUrl='${basePath}';
	//页面加载完后 
	$(document).ready(function(){
		//initFn();
	});
	
	
	function planUpload(){
		var DealCode = $("input[name=DealCode]").val();
		var ContractNo = $("input[name=ContractNo]").val();
		
		if((DealCode==null||DealCode=="")||(ContractNo==null||ContractNo=="")){
			alert("请输入交易流水号 或者合同号！");
			return;
		}
																					
		var url = "${basePath}termporaryPlan/termporaryPlanUpload?DealCode=" + DealCode+"&ContractNo="+ContractNo;
		var params;
		
		//window.location = url;
		//通过ajax保存
		//jyAjax(
		//	url,
		//	params);
		//通过ajax保存
		jyAjax(
			url,
			params,
			function(msg){
				alert(msg.msg);
	  	});
	}
		
</script>
 
</head>
<body style="background-color:#FFFFFF">
<div id="formPageSwap">
  <br/>
<form id="uploadForm" name="uploadForm" isCheck="true" enctype="multipart/form-data" action="<%=basePath%>/sysStragy/unlock">
 <table id="uploadFormId" class="formTableSwap" border="0" align="center" cellpadding="0" cellspacing="1" >
<tr>
  <th> 交易流水号 ：</th>
  <td > 
  	<input type="text" class="text" id="DealCode" style="width: 260px;" name="DealCode" notNull="true" maxLength="25" value="" />
  </td>
  <th> 合同号：</th>
  <td > 
  	<input type="text" class="text" id="ContractNo" style="width: 260px;" name="ContractNo" notNull="true" maxLength="25" value="" />
  </td>
</tr>


  </table>
<div align="center" class="expandToolbar">
	<button onclick="planUpload();return false;" class="ui-button ui-widget ui-state-default ui-corner-all " role="button">
		<span class="ui-button-text" style="padding:5px 10px 5px 10px;">上传</span>
	</button>
</div>
</form>
</div>
</body>
<!-- 相关js方法 -->	

<script>
</script> 
</html>
